import { request } from "@rabbit.do/rabbit";

export const createCustomer = data => request({
  url: '/swan/customer/create',
  data,
});

export const updateCustomer = data => request({
  url: '/swan/customer/update',
  data,
});

export const findPage = data => request({
  url: 'http://192.168.3.7:10100/api/v1/swan/customer/find/page',
  data,
});

// 获取审批规则
export const findRule = data => request({
  url: '/swan/operation/check/rule/find/type',
  data,
});
